#define _CRT_SECURE_NO_WARNINGS 1

#include <stdio.h>
#include <assert.h>


size_t my_strlen(const char* str)
{
	assert(str != NULL);
	int count = 0;
	while (*str++ != 0)
	{
		count++;
	}
	return count;
}

int main()
{
	char ch[] = "abcde";
	printf("%d", my_strlen(ch));
	return 0;
}